/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

import java.io.Serializable;
import java.sql.Blob;
import java.util.Date;

/**
 *
 * @author USER
 */
public class Reporte implements Serializable {

    private Double codtor;
    private String destor;
    private String urltor;
    private String nomcon;
    private Double nroint;
    private Double nroace;
    private Double nroerr;
    private Double canpar;  
    private Double porefe;  
    private String fecreg;

    public Reporte() {
    }

    public Double getCodtor() {
        return codtor;
    }

    public void setCodtor(Double codtor) {
        this.codtor = codtor;
    }

    public String getDestor() {
        return destor;
    }

    public void setDestor(String destor) {
        this.destor = destor;
    }

    public String getUrltor() {
        return urltor;
    }

    public void setUrltor(String urltor) {
        this.urltor = urltor;
    }

    public String getNomcon() {
        return nomcon;
    }

    public void setNomcon(String nomcon) {
        this.nomcon = nomcon;
    }
    
     public Double getNront() {
        return nroint;
    }

    public void setNroint(Double nroint) {
        this.nroint = nroint;
    }
    
     public Double getNroace() {
        return nroace;
    }

    public void setNroace(Double nroace) {
        this.nroace = nroace;
    }
    
     public Double getNroerr() {
        return nroerr;
    }

    public void setNroerr(Double nroerr) {
        this.nroerr = nroerr;
    }
    
      public Double getCanpar() {
        return canpar;
    }

    public void setCanpar(Double canpar) {
        this.canpar = canpar;
    }
    
      public Double getPorefe() {
        return porefe;
    }

    public void setPorefe(Double Porefe) {
        this.porefe = Porefe;
    }
    
    public String getFecreg() {
        return fecreg;
    }

    public void setFecreg(String fecreg) {
        if (fecreg != null) {
            if (!fecreg.equals("")) {
                if (fecreg.substring(4, 5).equals("-")) {
                    fecreg = fecreg.substring(8, 10) + "/" + fecreg.substring(5, 7) + "/" + fecreg.substring(0, 4);
                }
            }
        }
        this.fecreg = fecreg;
    }  
}
